#include "myChannel.h"

#include <QDebug>

myChannel::myChannel(QObject *parent)
    :QObject(parent)
{

}

void myChannel::updateVehicles(QString vehicles)
{
    QString script = QString("updateVehicles(%1)").arg(vehicles);
    if (page) {
		page->runJavaScript(script);
	}
}
